﻿package net.wangit.view.element.component;

import net.wangit.Page;
import net.wangit.Row;
import net.wangit.context.ActionContext;
import net.wangit.support.ElementWriter;
import net.wangit.util.Checker;
import net.wangit.view.element.ElementComponent;

public final class ResetButtonElement extends ElementComponent {
	private static final ElementWriter writer = new ResetButtonElementWriter();

	public ResetButtonElement() {
	}

	public void configure(Row row1) {
	}

	protected ElementWriter getWriter() {
		return writer;
	}

	protected void cloneAfter(ActionContext actioncontext, Page page1) {
	}

	public String getCss() {
		String css = super.getCss();
		return Checker.isEmpty(css) ? isToolbarElement() ? "E5B" : "E5" : css;
	}

}
